package io.renren.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @auther xiegaolong
 * @description
 * @date 2024/12/2
 */
public class DateUtils {

    public static String DATE_TIME_PATTERN = "yyyyMMddHHmmss";

    public static String dateTimeNow(String format){
        return new SimpleDateFormat(format).format(new Date());
    }
}
